
#!/bin/bash

if [ $1 = "cache" ]; then 

echo correct parameter $1
grep $1 /proc/cpuinfo

elif [ $1 = "MHz" ]; then

echo correct parameter $1
grep $1 /proc/cpuinfo

else 
echo you did not use a correct parameter

fi
